<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>QCNSim: QcnSim/SimulatorGlobals.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QCNSim
   </div>
   <div id="projectbrief">Simulator for Quake-Catcher Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d21be12960473ba5c51e5f9beea3525e.html">QcnSim</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SimulatorGlobals.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_simulator_globals_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;random&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="_simulator_globals_8h.html#aeb047409c886245fbe7396dded8e64e1">   25</a></span>&#160;<span class="preprocessor">#define CURRENT_ABSOLUTE_TIME 0.0  </span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">// Let the default SIMULATION_ABSOLUTE_START_TIME be equal to CURRENT_ABSOLUTE_TIME.</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_simulator_globals_8h.html#a5a38a3b95c8ad61580bc6f40b04cfa88">   27</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define SIMULATION_ABSOLUTE_START_TIME 0.0  </span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="_simulator_globals_8h.html#a55e01d619354530787662976455af190">   28</a></span>&#160;<span class="preprocessor">#define PRINT_TRACE_FLAG false </span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="_simulator_globals_8h.html#a1c6d5de492ac61ad29aec7aa9a436bbf">   29</a></span>&#160;<span class="preprocessor">#define VERSION &quot;2013.08.02&quot; </span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="class_simulator_globals.html">  159</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_simulator_globals.html">SimulatorGlobals</a> {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">  161</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>; </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">  162</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>; </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">  163</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">  164</a></span>&#160;    std::string <a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="comment">//std::random_device randomDevice; //!&lt; Random device for random generators. // Cannot be done here... move it to cpp implementation.</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">  166</a></span>&#160;    std::default_random_engine <a class="code" href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">randomEngine</a>; </div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">  167</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a>; </div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">  168</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">tokenInitialId</a>; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    </div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">initializeRandomGeneratorRandomSeed</a>();</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <a class="code" href="class_simulator_globals.html#a60729941757392b224fd1dbdf1913d61">SimulatorGlobals</a>();</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <a class="code" href="class_simulator_globals.html#a60729941757392b224fd1dbdf1913d61">SimulatorGlobals</a>(<span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>, <span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>, <span class="keywordtype">bool</span> <a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>, std::string <a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    <a class="code" href="class_simulator_globals.html#a60729941757392b224fd1dbdf1913d61">SimulatorGlobals</a>(<span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>, <span class="keywordtype">bool</span> <a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>, std::string <a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#a08da82e86d7c26d8f2498bd313f0e66e">getCurrentAbsoluteTime</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#aa57fa0ff9b9d44d9c3da2affb9c106e7">getSimulationDuration</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_simulator_globals.html#a36420d4588520a07dd979b149b90d492">isTraceOn</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    std::string <a class="code" href="class_simulator_globals.html#a1dcbf1671fd7544dd4cec34bfe569366">getVersion</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_simulator_globals.html#a1e0957d343a552988eb29adce869d737">getRandomNumberGeneratorSeed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_simulator_globals.html#a4f30b6252c3682679c05233afbc0604d">seedRandomNumberGenerator</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a>);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_simulator_globals.html#a8eae4ddb7a850f299f42490a6f8f0f43">setSimulationAbsoluteStartTime</a>(<span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_simulator_globals.html#a29e97c64b5f7afad0523482d23f64728">setCurrentAbsoluteTime</a>(<span class="keywordtype">double</span> <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_simulator_globals.html#a139c8820dedfd73eb81e6ded58c0c792">getTokenNextId</a>();</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    std::default_random_engine &amp;<a class="code" href="class_simulator_globals.html#a4249f51c03094b902a91514aae13fb92">getRandomNumberGeneratorEngineInstance</a>();</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;};</div>
<div class="ttc" id="class_simulator_globals_html_a0e067cba06ad2ab4c9058468f738bb90"><div class="ttname"><a href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">SimulatorGlobals::currentAbsoluteTime</a></div><div class="ttdeci">double currentAbsoluteTime</div><div class="ttdoc">Current simulation time. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00161">SimulatorGlobals.h:161</a></div></div>
<div class="ttc" id="class_simulator_globals_html_aa57fa0ff9b9d44d9c3da2affb9c106e7"><div class="ttname"><a href="class_simulator_globals.html#aa57fa0ff9b9d44d9c3da2affb9c106e7">SimulatorGlobals::getSimulationDuration</a></div><div class="ttdeci">double getSimulationDuration() const </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00096">SimulatorGlobals.cpp:96</a></div></div>
<div class="ttc" id="class_simulator_globals_html_acbf9496b56eb264e1abf5bfc8c7d2114"><div class="ttname"><a href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">SimulatorGlobals::seed</a></div><div class="ttdeci">unsigned int seed</div><div class="ttdoc">The actual seed to use (or being used) for the random number generator. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00167">SimulatorGlobals.h:167</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ac33d5dbf24ae6804cc3f9f8de2dc92e0"><div class="ttname"><a href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">SimulatorGlobals::randomEngine</a></div><div class="ttdeci">std::default_random_engine randomEngine</div><div class="ttdoc">The Random Engine to be used by traffic generators. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00166">SimulatorGlobals.h:166</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a139c8820dedfd73eb81e6ded58c0c792"><div class="ttname"><a href="class_simulator_globals.html#a139c8820dedfd73eb81e6ded58c0c792">SimulatorGlobals::getTokenNextId</a></div><div class="ttdeci">unsigned int getTokenNextId()</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00171">SimulatorGlobals.cpp:171</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a4249f51c03094b902a91514aae13fb92"><div class="ttname"><a href="class_simulator_globals.html#a4249f51c03094b902a91514aae13fb92">SimulatorGlobals::getRandomNumberGeneratorEngineInstance</a></div><div class="ttdeci">std::default_random_engine &amp; getRandomNumberGeneratorEngineInstance()</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00082">SimulatorGlobals.cpp:82</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a8eae4ddb7a850f299f42490a6f8f0f43"><div class="ttname"><a href="class_simulator_globals.html#a8eae4ddb7a850f299f42490a6f8f0f43">SimulatorGlobals::setSimulationAbsoluteStartTime</a></div><div class="ttdeci">void setSimulationAbsoluteStartTime(double simulationAbsoluteStartTime)</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00135">SimulatorGlobals.cpp:135</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a08da82e86d7c26d8f2498bd313f0e66e"><div class="ttname"><a href="class_simulator_globals.html#a08da82e86d7c26d8f2498bd313f0e66e">SimulatorGlobals::getCurrentAbsoluteTime</a></div><div class="ttdeci">double getCurrentAbsoluteTime() const </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00070">SimulatorGlobals.cpp:70</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a0ae6ee1fa9e0f463e77f040d4c35507a"><div class="ttname"><a href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">SimulatorGlobals::tokenInitialId</a></div><div class="ttdeci">unsigned int tokenInitialId</div><div class="ttdoc">Initial ID for tokens generated in this simulator. To assure unique IDs, use the function getTokenNex...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00168">SimulatorGlobals.h:168</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a1dcbf1671fd7544dd4cec34bfe569366"><div class="ttname"><a href="class_simulator_globals.html#a1dcbf1671fd7544dd4cec34bfe569366">SimulatorGlobals::getVersion</a></div><div class="ttdeci">std::string getVersion() const </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00114">SimulatorGlobals.cpp:114</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a36420d4588520a07dd979b149b90d492"><div class="ttname"><a href="class_simulator_globals.html#a36420d4588520a07dd979b149b90d492">SimulatorGlobals::isTraceOn</a></div><div class="ttdeci">bool isTraceOn() const </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00105">SimulatorGlobals.cpp:105</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a60729941757392b224fd1dbdf1913d61"><div class="ttname"><a href="class_simulator_globals.html#a60729941757392b224fd1dbdf1913d61">SimulatorGlobals::SimulatorGlobals</a></div><div class="ttdeci">SimulatorGlobals()</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00025">SimulatorGlobals.cpp:25</a></div></div>
<div class="ttc" id="class_simulator_globals_html"><div class="ttname"><a href="class_simulator_globals.html">SimulatorGlobals</a></div><div class="ttdoc">Simulator-scope variables and parameters. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00159">SimulatorGlobals.h:159</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad6ffc9c995d5b01ff0e6c297fac81402"><div class="ttname"><a href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">SimulatorGlobals::initializeRandomGeneratorRandomSeed</a></div><div class="ttdeci">void initializeRandomGeneratorRandomSeed()</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00059">SimulatorGlobals.cpp:59</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a1e0957d343a552988eb29adce869d737"><div class="ttname"><a href="class_simulator_globals.html#a1e0957d343a552988eb29adce869d737">SimulatorGlobals::getRandomNumberGeneratorSeed</a></div><div class="ttdeci">unsigned int getRandomNumberGeneratorSeed() const </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00123">SimulatorGlobals.cpp:123</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad4b80cea6868dcf79e8bfdd0b63c3f46"><div class="ttname"><a href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">SimulatorGlobals::version</a></div><div class="ttdeci">std::string version</div><div class="ttdoc">Simulator current version. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00164">SimulatorGlobals.h:164</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad194f1ed6929bbb0aff266f7c49c5eb1"><div class="ttname"><a href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">SimulatorGlobals::simulationAbsoluteStartTime</a></div><div class="ttdeci">double simulationAbsoluteStartTime</div><div class="ttdoc">Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a &amp;quot;warm-up&amp;quot; time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime). </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00162">SimulatorGlobals.h:162</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a4f30b6252c3682679c05233afbc0604d"><div class="ttname"><a href="class_simulator_globals.html#a4f30b6252c3682679c05233afbc0604d">SimulatorGlobals::seedRandomNumberGenerator</a></div><div class="ttdeci">void seedRandomNumberGenerator(unsigned int seed)</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00147">SimulatorGlobals.cpp:147</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a29e97c64b5f7afad0523482d23f64728"><div class="ttname"><a href="class_simulator_globals.html#a29e97c64b5f7afad0523482d23f64728">SimulatorGlobals::setCurrentAbsoluteTime</a></div><div class="ttdeci">void setCurrentAbsoluteTime(double currentAbsoluteTime)</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00159">SimulatorGlobals.cpp:159</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a7b97db2edc4767d785d2570fc8cd6d02"><div class="ttname"><a href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">SimulatorGlobals::printTraceFlag</a></div><div class="ttdeci">bool printTraceFlag</div><div class="ttdoc">TRUE: prints tracing information; FALSE: does not print tracing information during simulation...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00163">SimulatorGlobals.h:163</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 15 2014 10:33:13 for QCNSim by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
